defmodule ResourceConfigure do

	def configure() do
		%{
			"RUN_MODE" => "debug",
			:show_sql => true,
			:page_size => 20,
			:node => String.to_atom("private_lib_deepr@127.0.0.1"),
			:cookie => :'123456',
			:topologies => [
				cluster: [
					strategy: Cluster.Strategy.Epmd,
					config: [
						# 配置要连接的节点
						hosts: [:'private_db_app@192.168.31.179',]
					],
					topologies: {:net_kernel, :connect_node, []},
					disconnect: {:erlang, :disconnect_node, []},
					list_nodes: {:erlang, :nodes, [:connected]},
				]
			],
			#			:postgres => [
			#				database: "iot_ts",
			#				username: "postgres",
			#				password: "logdata",
			#				#				hostname: "39.100.133.173",
			#				#				port: 5432,
			#				hostname: "192.168.31.182",
			#				port: 6432,
			#				pool_size: 4,
			#			],
		}
	end

end